package A.q.day04;
import java.util.Scanner;
public class ScannerDemo {
    public static void main(String[] args) {
        //创建类CommandBySwitch,接收用户输入的命令command(int),并输出
        Scanner scan=new Scanner(System.in);
        System.out.println();
        int commmand=scan.nextInt();

        switch (commmand){
            case 1:
                System.out.println("存款业务...");
                break;
            case 2:
                System.out.println("取款业务...");
                break;
            case 3:
                System.out.println("转账业务...");
                break;
            case 4:
                System.out.println("退出成功...");
                break;
        }
    }
}
